using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace eeZeeFTP
{
    public partial class InputDialog : Form
    {
        private string sInput = String.Empty;

        public string Input
        {
            get { return sInput; }
            set 
            {
                txt_Input.Text = value;
                sInput = value; 
            }
        }

        public InputDialog(string Message)
        {
            InitializeComponent();

            lbl_Message.Text = Message;
        }

        private void InputDialog_Load(object sender, EventArgs e)
        {
            this.Icon = SystemIcons.Question;
            this.pB_Symbol.Image = SystemIcons.Question.ToBitmap();

            this.txt_Input.Select();
        }

        private void txt_Input_TextChanged(object sender, EventArgs e)
        {
            sInput = txt_Input.Text;
        }
    }
}